package com.example.zwl.dao;

import com.example.zwl.pojo.student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;


@Mapper
@Repository
public interface studentdao {
    //查询
    public Collection<student>yonhu();

    //添加
    public int addstu(student stu);
    //删除
    public int delete(Integer id);
    //编辑
    public int edit(student stu);
    //根据ID查找
    public student cha(Integer id);
}
